package com.ck.ips.controller;

import com.ck.common.SessionUser;
import com.ck.core.context.UserContextHolder;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.subject.Subject;

/**
 * 基础controller
 *
 * @author hf
 * @version v1.0
 * @date 2018-09-11 13:34
 */
public class BaseController {


   protected SessionUser currentSessionUser(){
       return UserContextHolder.currentUser();
   }

    /**
     * 移除用户seession信息
     */
   protected void logOut(){

       // 3、TODO 移除token

   }

}
